Skip to main content
POST
[Domains] Associate domain with web hosting

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).

Path Parameters

id
string
required

The unique identifier (UUID) of the domain

organization_id
string<uuid>
required
project_id
string<uuid>
required

Body

application/json
hosting_id
string<uuid>
required
configure_dns
boolean
default:true

Response

Domain successfully associated with hosting

domain_id
string<uuid>
required
hosting_id
string<uuid> | null
required
hosting_domain
string | null
required
dns_configured
boolean
required